package cn.two.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.Page;
import cn.two.model.OaBuy;

public interface OaBuyService {
	/**
	 * 查询所有
	 * @return
	 */
	List<OaBuy> selectAllBuy();

	
	/**
	 * 新增申请
	 * @param oaBuy
	 */
	void save(OaBuy oaBuy);
	
	/**
	 * 根据id删除
	 * @param oaBuyid
	 */
	void delete(OaBuy oaBuy);
	
	
	/**
	 * 多条件查询
	 * @param oaBuy
	 * @return
	 */
	List<OaBuy> search(OaBuy oaBuy);
	
	/**
	 * 查询单个
	 * @param oaBuy
	 * @return
	 */
	public OaBuy findOaBuy(OaBuy oaBuy);
	
	/**
	 * 修改
	 * @param oaBuy
	 */
	public void update(OaBuy oaBuy);

	
	Page queryLikeOaBuys(Map<String, Object> cond);
	
	
	
	
	
	
	
	
}
